package com.aspose.cells;

import java.util.ArrayList;

class zabd {
   private WorksheetCollection c;
   private String d;
   String a;
   private zabd e;
   private ArrayList f;
   private byte[] g;
   private int h = 1;
   int b;

   zabd() {
   }

   zabd(WorksheetCollection var1) {
      this.c = var1;
   }

   boolean a() {
      return this.g != null && this.g[0] == 22;
   }

   void a(zabd var1) {
      if (this.f == null) {
         this.f = new ArrayList();
      }

      com.aspose.cells.b.a.a.ze.a(this.f, (Object)var1);
      var1.e = this;
   }

   void a(zabd[][] var1) {
      if (this.f == null) {
         this.f = new ArrayList();
      }

      com.aspose.cells.b.a.a.ze.a(this.f, (Object)var1);
   }

   String b() {
      return this.d;
   }

   void a(String var1) {
      this.d = var1;
   }

   zabd c() {
      return this.e;
   }

   void b(zabd var1) {
      this.e = var1;
   }

   ArrayList d() {
      return this.f;
   }

   void a(ArrayList var1) {
      this.f = var1;
   }

   int e() {
      for(int var1 = 0; var1 < this.e.d().size(); ++var1) {
         if (this.e.d().get(var1) == this) {
            return var1;
         }
      }

      return -1;
   }

   byte[] f() {
      return this.g;
   }

   void a(byte[] var1) {
      this.g = var1;
   }

   boolean g() {
      if (this.g != null) {
         switch(this.g[0]) {
         case 15:
         case 16:
         case 17:
            return true;
         }
      }

      return false;
   }

   int h() {
      for(int var1 = 0; var1 < this.f.size(); ++var1) {
         zabd var2 = (zabd)this.f.get(var1);
         if (var2.g != null) {
            switch(var2.g[0]) {
            case 15:
            case 16:
            case 17:
               int var3 = var2.h();
               if (var3 != 6) {
                  return var3;
               }
               break;
            case 18:
            case 19:
            case 20:
            case 21:
            case 22:
            case 23:
            case 24:
            case 25:
            case 26:
            case 27:
            case 29:
            case 30:
            case 31:
            case 32:
            case 36:
            case 37:
            case 38:
            case 39:
            case 40:
            case 41:
            case 44:
            case 45:
            case 46:
            case 47:
            case 48:
            case 49:
            case 50:
            case 51:
            case 52:
            case 53:
            case 54:
            case 55:
            case 56:
            case 62:
            case 63:
            case 64:
            case 68:
            case 69:
            case 70:
            case 71:
            case 72:
            case 73:
            case 76:
            case 77:
            case 78:
            case 79:
            case 80:
            case 81:
            case 82:
            case 83:
            case 84:
            case 85:
            case 86:
            case 87:
            case 88:
            case 94:
            case 95:
            case 96:
            case 100:
            case 101:
            case 102:
            case 103:
            case 104:
            case 105:
            case 108:
            case 109:
            case 110:
            case 111:
            case 112:
            case 113:
            case 114:
            case 115:
            case 116:
            case 117:
            case 118:
            case 119:
            case 120:
            default:
               return 6;
            case 28:
            case 42:
            case 43:
            case 60:
            case 61:
            case 74:
            case 75:
            case 92:
            case 93:
            case 106:
            case 107:
            case 124:
            case 125:
               return 7;
            case 33:
            case 34:
            case 35:
            case 57:
            case 58:
            case 59:
            case 65:
            case 66:
            case 67:
            case 89:
            case 90:
            case 91:
            case 97:
            case 98:
            case 99:
            case 121:
            case 122:
            case 123:
               return 9;
            }
         }
      }

      return 6;
   }

   int i() {
      return this.h;
   }

   void a(int var1) {
      this.h = var1;
   }

   int j() {
      return this.b;
   }

   void b(int var1) {
      this.b = var1;
   }
}
